#include <avr/pgmspace.h> //将字符串资源放进Flash存储器以节省SRAM空间，详见https://www.arduino.cc/reference/en/language/variables/utilities/progmem/

const char strJia[] PROGMEM = "甲"; const char strYi[] PROGMEM = "乙"; const char strBing[] PROGMEM = "丙";
const char strDing[] PROGMEM = "丁"; const char strWu[] PROGMEM = "戊"; const char strJi[] PROGMEM = "己";
const char strGeng[] PROGMEM = "庚"; const char strXin[] PROGMEM = "辛"; const char strRen[] PROGMEM = "壬";
const char strGui[] PROGMEM = "癸";
const char *const strTiangan[] PROGMEM = {strJia, strYi, strBing, strDing, strWu, strJi, strGeng, strXin, strRen, strGui};

const char strZi[] PROGMEM = "子年"; const char strChou[] PROGMEM = "丑年"; const char strYin[] PROGMEM = "寅年";
const char strMao[] PROGMEM = "卯年"; const char strChen[] PROGMEM = "辰年"; const char strSi[] PROGMEM = "巳年";
const char strWuu[] PROGMEM = "午年"; const char strWei[] PROGMEM = "未年"; const char strShen[] PROGMEM = "申年";
const char strYou[] PROGMEM = "酉年"; const char strXu[] PROGMEM = "戌年"; const char strHai[] PROGMEM = "亥年";
const char *const strDizhi[] PROGMEM = {strZi, strChou, strYin, strMao, strChen, strSi, strWuu, strWei, strShen, strYou, strXu, strHai};

const char strJan[] PROGMEM = "正月"; const char strFeb[] PROGMEM = "二月"; const char strMar[] PROGMEM = "三月";
const char strApr[] PROGMEM = "四月"; const char strMay[] PROGMEM = "五月"; const char strJun[] PROGMEM = "六月";
const char strJul[] PROGMEM = "七月"; const char strAug[] PROGMEM = "八月"; const char strSep[] PROGMEM = "九月";
const char strOct[] PROGMEM = "十月"; const char strNov[] PROGMEM = "十一月"; const char strDec[] PROGMEM = "腊月";
const char *const strLunarMonth[] PROGMEM = {strJan, strFeb, strMar, strApr, strMay, strJun, strJul, strAug, strSep, strOct, strNov, strDec};

const char strDay1[] PROGMEM = "初一"; const char strDay2[] PROGMEM = "初二"; const char strDay3[] PROGMEM = "初三";
const char strDay4[] PROGMEM = "初四"; const char strDay5[] PROGMEM = "初五"; const char strDay6[] PROGMEM = "初六";
const char strDay7[] PROGMEM = "初七"; const char strDay8[] PROGMEM = "初八"; const char strDay9[] PROGMEM = "初九";
const char strDay10[] PROGMEM = "初十"; const char strDay11[] PROGMEM = "十一"; const char strDay12[] PROGMEM = "十二";
const char strDay13[] PROGMEM = "十三"; const char strDay14[] PROGMEM = "十四"; const char strDay15[] PROGMEM = "十五";
const char strDay16[] PROGMEM = "十六"; const char strDay17[] PROGMEM = "十七"; const char strDay18[] PROGMEM = "十八";
const char strDay19[] PROGMEM = "十九"; const char strDay20[] PROGMEM = "二十"; const char strDay21[] PROGMEM = "廿一";
const char strDay22[] PROGMEM = "廿二"; const char strDay23[] PROGMEM = "廿三"; const char strDay24[] PROGMEM = "廿四";
const char strDay25[] PROGMEM = "廿五"; const char strDay26[] PROGMEM = "廿六"; const char strDay27[] PROGMEM = "廿七";
const char strDay28[] PROGMEM = "廿八"; const char strDay29[] PROGMEM = "廿九"; const char strDay30[] PROGMEM = "三十";
const char *const strLunarDay[] PROGMEM = {strDay1, strDay2, strDay3, strDay4, strDay5, strDay6, strDay7, strDay8, strDay9, strDay10,
                                           strDay11, strDay12, strDay13, strDay14, strDay15, strDay16, strDay17, strDay18, strDay19, strDay20,
                                           strDay21, strDay22, strDay23, strDay24, strDay25, strDay26, strDay27, strDay28, strDay29, strDay30};

const char strBlank[] PROGMEM = ""; const char strXiaohan[] PROGMEM = " 小寒"; const char strDahan[] PROGMEM = " 大寒";
const char strLichun[] PROGMEM = " 立春"; const char strYushui[] PROGMEM = " 雨水"; const char strJingzhe[] PROGMEM = " 惊蛰";
const char strChunfen[] PROGMEM = " 春分"; const char strQingming[] PROGMEM = " 清明"; const char strGuyu[] PROGMEM = " 谷雨";
const char strLixia[] PROGMEM = " 立夏"; const char strXiaoman[] PROGMEM = " 小满"; const char strMangzhong[] PROGMEM = " 芒种";
const char strXiazhi[] PROGMEM = " 夏至"; const char strXiaoshu[] PROGMEM = " 小暑"; const char strDashu[] PROGMEM = " 大暑";
const char strLiqiu[] PROGMEM = " 立秋"; const char strChushu[] PROGMEM = " 处暑"; const char strBailu[] PROGMEM = " 白露";
const char strQiufen[] PROGMEM = " 秋分"; const char strHanlu[] PROGMEM = " 寒露"; const char strShuangjiang[] PROGMEM = " 霜降";
const char strLidong[] PROGMEM = " 立冬"; const char strXiaoxue[] PROGMEM = " 小雪"; const char strDaxue[] PROGMEM = " 大雪";
const char strDongzhi[] PROGMEM = " 冬至"; 
const char *const strSolarTerms[] PROGMEM = {strBlank, strXiaohan, strDahan, strLichun, strYushui, strJingzhe, strChunfen, strQingming,
                                             strGuyu, strLixia, strXiaoman, strMangzhong, strXiazhi, strXiaoshu, strDashu, strLiqiu,
                                             strChushu, strBailu, strQiufen, strHanlu, strShuangjiang, strLidong, strXiaoxue, strDaxue, strDongzhi};